﻿/// <reference path="References.js" />
window.Gorbatras = window.Gorbatras || {};
window.Gorbatras.Compatibility = window.Gorbatras.Compatibility || {};
//If CheckComaptibility function has been run!
Gorbatras.Compatibility.hasChecked = false;

//Checks for HTML compatibility with certain elements
//Called by ScriptLoader or MinifierProgram
Gorbatras.Compatibility.CheckCompatibility = function ()
{
    //Check for slider compatibility used at:
    //scenesettingsview
    var f_slider = Gorbatras.Tools.CreateHTMLElement( "input", ["type", "range"] );    
    Gorbatras.Compatibility.sliderSupport = f_slider.type === "range" ? true : false;

    Gorbatras.Compatibility.hasChecked = true;
};